Yoast\WP\SEO\Integrations\Blocks\Structured_Data_Blocks A

Total Complexity 55
Dependencies 2
Dependents 1
Total lines 459
Lines of code 261
Logical lines of code 110
Comment lines 145
Methods 14
Properties 5

Methods 14

Method Rating Maintainability Complexity Lines of code
optimize_images()
A
41 13 55
add_images_from_attributes_to_used_cache()
A
51 12 25
build_duration_string()
S
53 4 23
transform_duration_to_string()
S
55 4 22
register_blocks()
S
43 1 63
maybe_save_used_caches()
S
66 4 8
present_duration_text()
S
60 3 13
attachment_src_to_id()
S
61 3 13
get_cache_for_post()
S
63 3 11
enqueue_block_editor_assets()
S
69 2 7
optimize_faq_images()
S
70 2 6
optimize_how_to_images()
S
68 2 7
__construct()
S
77 1 4
register_hooks()
S
75 1 4